package com.lx.bbs.service;

import com.lx.bbs.entity.BizException;
import com.lx.bbs.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lx.bbs.entity.UserEX;
import org.springframework.validation.Errors;

/**
 * <p>
 * BBS论坛-用户表-6 服务类
 * </p>
 *
 * @author lx
 * @since 2024-11-23
 */
public interface IUserService extends IService<User> {

    User login(User user) throws BizException;

    void reg(UserEX user, Errors errors) throws BizException;

    void uploadQuestion(User user, Errors errors) throws BizException;

    User getQuestion();
}
